<#userzone title="动态" user = "${user}">
    <ul class="nav nav-tabs mb20">
        <li class="visible-xs"><a href="#offcanvas" data-toggle="offcanvas">&lt;&lt;</a></li>
        <li><a href="/user/show/${user.id}">动态</a></li>
        <li class="active"><a href="/user/blog/${user.id}">笔记</a></li>
        <li><a href="/user/photo/${user.id}">照片</a></li>
    </ul>
    <!--@for(blog in page.list){-->
    <div class="media">
        <div class="media-left">
            <img class="avatar-md img-circle" src="${blog.creater.avatarUrl}">
        </div>
        <div class="media-body">
            <h4 class="media-heading">
                <a href="/blog/show/${blog.id}">${blog.title,xss}</a>
                <!--@if(blog.type=="ORIGINAL"){-->
                <span class="label label-primary">原创</span>
                <!--@}else if(blog.type=="COPY"){-->
                <span class="label label-success">转载</span>
                <!--@}-->
                <!--@if(blog.privacy){-->
                <span class="label label-warning">私有</span>
                <!--@}-->
            </h4>

            <p class="text-muted">
                ${blog.updateTime,prettyTime}&nbsp;by&nbsp;${blog.creater.html}，${blog.clickCount}阅
            </p>
        </div>
    </div>
    <!--@if(!blogLP.last){-->
    <hr class="dashed">
    <!--@}-->
    <!--@}-->
    ${pageLink}
</#userzone>
